package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: biubiu0002
 * @Date: 2022-02-08 1:55
 **/


@NoArgsConstructor
@AllArgsConstructor
@Data
/**
 * 二级分类VO
 */
public class Catalog2VO {
    private String catalog1Id;  //1级父分类id
    private List<Catalog3VO> catalog3List;  //三级子分类
    private String id;
    private String name;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    /**
     * 三级分类VO
     */
    public static class Catalog3VO{
        private String catalog2Id;
        private String id;
        private String name;


    }
}
